home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / develop™ Technical Journal / develop Issue 29 code / InlineInputSample.sit / InlineInputSample / InlineInputSample.h < prev    next >
MacBinary  |  1997-01-07  |  2.6 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Tue Jan 7 11:03:33 1997, modified Tue Jan 7 11:03:33 1997, creator 'CWIE', type ASCII, 1856 bytes "InlineInputSample.h" , at 0x7c0 530 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 49 6e 6c 69 6e 65 | 49 6e 70 75 74 53 61 6d |..Inline|InputSam|
|00000010| 70 6c 65 2e 68 00 00 00 | 00 00 00 00 00 00 00 00 |ple.h...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 07 40 00 | 00 02 12 ae f8 24 55 ae |......@.|.....$U.|
|00000060| f8 24 55 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.$U.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 2c ba 00 00 |........|....,...|
|00000080| 2f 2a 0d 09 46 69 6c 65 | 3a 09 09 49 6e 6c 69 6e |/*..File|:..Inlin|
|00000090| 65 49 6e 70 75 74 53 61 | 6d 70 6c 65 2e 68 0d 0d |eInputSa|mple.h..|
|000000a0| 09 43 6f 6e 74 61 69 6e | 73 3a 09 52 65 7a 20 61 |.Contain|s:.Rez a|
|000000b0| 6e 64 20 43 20 64 65 66 | 69 6e 69 74 69 6f 6e 73 |nd C def|initions|
|000000c0| 20 73 68 61 72 65 64 20 | 62 65 74 77 65 65 6e 20 | shared |between |
|000000d0| 49 6e 6c 69 6e 65 49 6e | 70 75 74 53 61 6d 70 6c |InlineIn|putSampl|
|000000e0| 65 2e 72 20 61 6e 64 20 | 49 6e 6c 69 6e 65 49 6e |e.r and |InlineIn|
|000000f0| 70 75 74 53 61 6d 70 6c | 65 2e 63 0d 0d 09 43 6f |putSampl|e.c...Co|
|00000100| 70 79 72 69 67 68 74 3a | 09 a9 20 31 39 39 33 20 |pyright:|.. 1993 |
|00000110| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2c 20 |Apple Co|mputer, |
|00000120| 49 6e 63 2e 20 41 6c 6c | 20 72 69 67 68 74 73 20 |Inc. All| rights |
|00000130| 72 65 73 65 72 76 65 64 | 2e 0d 0d 2a 2f 0d 0d 0d |reserved|...*/...|
|00000140| 23 69 66 6e 64 65 66 20 | 5f 5f 49 4e 4c 49 4e 45 |#ifndef |__INLINE|
|00000150| 49 4e 50 55 54 53 41 4d | 50 4c 45 5f 5f 0d 23 64 |INPUTSAM|PLE__.#d|
|00000160| 65 66 69 6e 65 20 5f 5f | 49 4e 4c 49 4e 45 49 4e |efine __|INLINEIN|
|00000170| 50 55 54 53 41 4d 50 4c | 45 5f 5f 0d 0d 0d 2f 2f |PUTSAMPL|E__...//|
|00000180| 09 4d 65 6e 75 73 20 61 | 6e 64 20 6d 65 6e 75 20 |.Menus a|nd menu |
|00000190| 69 74 65 6d 73 2e 20 4d | 65 6e 75 20 49 44 73 20 |items. M|enu IDs |
|000001a0| 75 73 65 20 74 68 65 20 | 70 72 65 66 69 78 20 22 |use the |prefix "|
|000001b0| 6d 22 2c 20 6d 65 6e 75 | 20 69 74 65 6d 73 20 22 |m", menu| items "|
|000001c0| 69 22 0d 0d 23 64 65 66 | 69 6e 65 09 6d 41 70 70 |i"..#def|ine.mApp|
|000001d0| 6c 65 09 09 09 09 09 31 | 32 38 09 09 2f 2f 20 41 |le.....1|28..// A|
|000001e0| 70 70 6c 65 20 6d 65 6e | 75 0d 23 64 65 66 69 6e |pple men|u.#defin|
|000001f0| 65 09 69 41 62 6f 75 74 | 09 09 09 09 09 31 0d 0d |e.iAbout|.....1..|
|00000200| 23 64 65 66 69 6e 65 09 | 6d 46 69 6c 65 09 09 09 |#define.|mFile...|
|00000210| 09 09 31 32 39 09 09 2f | 2f 20 46 69 6c 65 20 6d |..129../|/ File m|
|00000220| 65 6e 75 0d 23 64 65 66 | 69 6e 65 09 69 4e 65 77 |enu.#def|ine.iNew|
|00000230| 09 09 09 09 09 31 0d 23 | 64 65 66 69 6e 65 20 69 |.....1.#|define i|
|00000240| 4f 70 65 6e 09 09 09 09 | 09 32 0d 23 64 65 66 69 |Open....|.2.#defi|
|00000250| 6e 65 09 69 43 6c 6f 73 | 65 09 09 09 09 09 34 0d |ne.iClos|e.....4.|
|00000260| 23 64 65 66 69 6e 65 20 | 69 53 61 76 65 09 09 09 |#define |iSave...|
|00000270| 09 09 35 0d 23 64 65 66 | 69 6e 65 20 69 50 61 67 |..5.#def|ine iPag|
|00000280| 65 53 65 74 75 70 09 09 | 09 09 37 0d 23 64 65 66 |eSetup..|..7.#def|
|00000290| 69 6e 65 20 69 50 72 69 | 6e 74 09 09 09 09 09 38 |ine iPri|nt.....8|
|000002a0| 0d 23 64 65 66 69 6e 65 | 09 69 51 75 69 74 09 09 |.#define|.iQuit..|
|000002b0| 09 09 09 31 30 0d 0d 23 | 64 65 66 69 6e 65 09 6d |...10..#|define.m|
|000002c0| 45 64 69 74 09 09 09 09 | 09 31 33 30 09 09 2f 2f |Edit....|.130..//|
|000002d0| 20 45 64 69 74 20 6d 65 | 6e 75 0d 23 64 65 66 69 | Edit me|nu.#defi|
|000002e0| 6e 65 09 69 55 6e 64 6f | 09 09 09 09 09 31 0d 23 |ne.iUndo|.....1.#|
|000002f0| 64 65 66 69 6e 65 09 69 | 43 75 74 09 09 09 09 09 |define.i|Cut.....|
|00000300| 33 0d 23 64 65 66 69 6e | 65 09 69 43 6f 70 79 09 |3.#defin|e.iCopy.|
|00000310| 09 09 09 09 34 0d 23 64 | 65 66 69 6e 65 09 69 50 |....4.#d|efine.iP|
|00000320| 61 73 74 65 09 09 09 09 | 09 35 0d 23 64 65 66 69 |aste....|.5.#defi|
|00000330| 6e 65 09 69 43 6c 65 61 | 72 09 09 09 09 09 36 0d |ne.iClea|r.....6.|
|00000340| 23 64 65 66 69 6e 65 20 | 69 53 65 6c 65 63 74 41 |#define |iSelectA|
|00000350| 6c 6c 09 09 09 09 38 0d | 0d 23 64 65 66 69 6e 65 |ll....8.|.#define|
|00000360| 20 6d 46 6f 6e 74 09 09 | 09 09 09 31 33 31 09 09 | mFont..|...131..|
|00000370| 2f 2f 20 46 6f 6e 74 20 | 6d 65 6e 75 0d 0d 23 64 |// Font |menu..#d|
|00000380| 65 66 69 6e 65 20 6d 46 | 6f 6e 74 53 69 7a 65 09 |efine mF|ontSize.|
|00000390| 09 09 09 31 33 32 09 09 | 2f 2f 20 53 69 7a 65 20 |...132..|// Size |
|000003a0| 6d 65 6e 75 0d 23 64 65 | 66 69 6e 65 20 69 4e 69 |menu.#de|fine iNi|
|000003b0| 6e 65 09 09 09 09 09 31 | 0d 23 64 65 66 69 6e 65 |ne.....1|.#define|
|000003c0| 20 69 54 65 6e 09 09 09 | 09 09 32 0d 23 64 65 66 | iTen...|..2.#def|
|000003d0| 69 6e 65 20 69 54 77 65 | 6c 76 65 09 09 09 09 09 |ine iTwe|lve.....|
|000003e0| 33 0d 23 64 65 66 69 6e | 65 20 69 46 6f 75 72 74 |3.#defin|e iFourt|
|000003f0| 65 65 6e 09 09 09 09 34 | 0d 23 64 65 66 69 6e 65 |een....4|.#define|
|00000400| 20 69 45 69 67 68 74 65 | 65 6e 09 09 09 09 35 0d | iEighte|en....5.|
|00000410| 23 64 65 66 69 6e 65 20 | 69 54 77 65 6e 74 79 46 |#define |iTwentyF|
|00000420| 6f 75 72 09 09 09 09 36 | 0d 0d 23 64 65 66 69 6e |our....6|..#defin|
|00000430| 65 20 6d 53 74 79 6c 65 | 09 09 09 09 09 31 33 33 |e mStyle|.....133|
|00000440| 09 09 2f 2f 20 53 74 79 | 6c 65 20 6d 65 6e 75 0d |..// Sty|le menu.|
|00000450| 23 64 65 66 69 6e 65 20 | 69 50 6c 61 69 6e 09 09 |#define |iPlain..|
|00000460| 09 09 09 31 0d 23 64 65 | 66 69 6e 65 20 69 42 6f |...1.#de|fine iBo|
|00000470| 6c 64 09 09 09 09 09 33 | 0d 23 64 65 66 69 6e 65 |ld.....3|.#define|
|00000480| 20 69 49 74 61 6c 69 63 | 09 09 09 09 09 34 0d 23 | iItalic|.....4.#|
|00000490| 64 65 66 69 6e 65 09 69 | 55 6e 64 65 72 6c 69 6e |define.i|Underlin|
|000004a0| 65 09 09 09 09 35 0d 23 | 64 65 66 69 6e 65 20 69 |e....5.#|define i|
|000004b0| 4f 75 74 6c 69 6e 65 09 | 09 09 09 36 0d 23 64 65 |Outline.|...6.#de|
|000004c0| 66 69 6e 65 20 69 53 68 | 61 64 6f 77 09 09 09 09 |fine iSh|adow....|
|000004d0| 09 37 0d 0d 0d 2f 2f 20 | 4f 74 68 65 72 20 72 65 |.7...// |Other re|
|000004e0| 73 6f 75 72 63 65 73 2c | 20 75 73 69 6e 67 20 70 |sources,| using p|
|000004f0| 72 65 66 69 78 20 22 72 | 22 0d 0d 23 64 65 66 69 |refix "r|"..#defi|
|00000500| 6e 65 09 72 4d 65 6e 75 | 42 61 72 09 09 09 09 31 |ne.rMenu|Bar....1|
|00000510| 32 38 09 09 2f 2f 20 61 | 70 70 6c 69 63 61 74 69 |28..// a|pplicati|
|00000520| 6f 6e 27 73 20 6d 65 6e | 75 20 62 61 72 0d 23 64 |on's men|u bar.#d|
|00000530| 65 66 69 6e 65 09 72 41 | 62 6f 75 74 41 6c 65 72 |efine.rA|boutAler|
|00000540| 74 09 09 09 09 31 32 38 | 09 09 2f 2f 20 61 62 6f |t....128|..// abo|
|00000550| 75 74 20 61 6c 65 72 74 | 0d 23 64 65 66 69 6e 65 |ut alert|.#define|
|00000560| 09 72 55 73 65 72 41 6c | 65 72 74 09 09 09 09 31 |.rUserAl|ert....1|
|00000570| 32 39 09 09 2f 2f 20 75 | 73 65 72 20 65 72 72 6f |29..// u|ser erro|
|00000580| 72 20 61 6c 65 72 74 0d | 23 64 65 66 69 6e 65 09 |r alert.|#define.|
|00000590| 72 44 6f 63 57 69 6e 64 | 6f 77 09 09 09 09 31 32 |rDocWind|ow....12|
|000005a0| 38 09 09 2f 2f 20 74 65 | 78 74 20 64 6f 63 75 6d |8..// te|xt docum|
|000005b0| 65 6e 74 20 77 69 6e 64 | 6f 77 0d 23 64 65 66 69 |ent wind|ow.#defi|
|000005c0| 6e 65 09 72 56 53 63 72 | 6f 6c 6c 09 09 09 09 31 |ne.rVScr|oll....1|
|000005d0| 32 38 09 09 2f 2f 20 76 | 65 72 74 69 63 61 6c 20 |28..// v|ertical |
|000005e0| 73 63 72 6f 6c 6c 62 61 | 72 20 63 6f 6e 74 72 6f |scrollba|r contro|
|000005f0| 6c 0d 23 64 65 66 69 6e | 65 09 72 48 53 63 72 6f |l.#defin|e.rHScro|
|00000600| 6c 6c 09 09 09 09 31 32 | 39 09 09 2f 2f 20 68 6f |ll....12|9..// ho|
|00000610| 72 69 7a 6f 6e 74 61 6c | 20 73 63 72 6f 6c 6c 62 |rizontal| scrollb|
|00000620| 61 72 20 63 6f 6e 74 72 | 6f 6c 0d 23 64 65 66 69 |ar contr|ol.#defi|
|00000630| 6e 65 09 72 45 72 72 6f | 72 53 74 72 69 6e 67 73 |ne.rErro|rStrings|
|00000640| 09 09 09 31 32 38 09 09 | 2f 2f 20 65 72 72 6f 72 |...128..|// error|
|00000650| 20 73 74 72 69 6e 67 20 | 6c 69 73 74 0d 0d 0d 2f | string |list.../|
|00000660| 2f 20 49 6e 64 69 63 65 | 73 20 69 6e 74 6f 20 53 |/ Indice|s into S|
|00000670| 54 52 23 20 72 45 72 72 | 6f 72 53 74 72 69 6e 67 |TR# rErr|orString|
|00000680| 73 2c 20 75 73 69 6e 67 | 20 70 72 65 66 69 78 20 |s, using| prefix |
|00000690| 22 65 22 0d 0d 23 64 65 | 66 69 6e 65 09 65 4f 6c |"e"..#de|fine.eOl|
|000006a0| 64 52 4f 4d 09 09 09 09 | 09 31 0d 23 64 65 66 69 |dROM....|.1.#defi|
|000006b0| 6e 65 20 65 4f 6c 64 53 | 79 73 74 65 6d 53 6f 66 |ne eOldS|ystemSof|
|000006c0| 74 77 61 72 65 09 09 32 | 0d 23 64 65 66 69 6e 65 |tware..2|.#define|
|000006d0| 09 65 53 6d 61 6c 6c 53 | 69 7a 65 09 09 09 09 33 |.eSmallS|ize....3|
|000006e0| 0d 23 64 65 66 69 6e 65 | 09 65 4e 6f 4d 65 6d 6f |.#define|.eNoMemo|
|000006f0| 72 79 09 09 09 09 34 0d | 23 64 65 66 69 6e 65 09 |ry....4.|#define.|
|00000700| 65 4e 6f 53 70 61 63 65 | 43 75 74 09 09 09 09 35 |eNoSpace|Cut....5|
|00000710| 0d 23 64 65 66 69 6e 65 | 09 65 4e 6f 43 75 74 09 |.#define|.eNoCut.|
|00000720| 09 09 09 09 36 0d 23 64 | 65 66 69 6e 65 09 65 4e |....6.#d|efine.eN|
|00000730| 6f 43 6f 70 79 09 09 09 | 09 09 37 0d 23 64 65 66 |oCopy...|..7.#def|
|00000740| 69 6e 65 09 65 45 78 63 | 65 65 64 50 61 73 74 65 |ine.eExc|eedPaste|
|00000750| 09 09 09 38 0d 23 64 65 | 66 69 6e 65 09 65 4e 6f |...8.#de|fine.eNo|
|00000760| 53 70 61 63 65 50 61 73 | 74 65 09 09 09 39 0d 23 |SpacePas|te...9.#|
|00000770| 64 65 66 69 6e 65 09 65 | 4e 6f 57 69 6e 64 6f 77 |define.e|NoWindow|
|00000780| 09 09 09 09 31 30 0d 23 | 64 65 66 69 6e 65 09 65 |....10.#|define.e|
|00000790| 45 78 63 65 65 64 43 68 | 61 72 09 09 09 09 31 31 |ExceedCh|ar....11|
|000007a0| 0d 23 64 65 66 69 6e 65 | 09 65 4e 6f 50 61 73 74 |.#define|.eNoPast|
|000007b0| 65 09 09 09 09 31 32 0d | 0d 23 65 6e 64 69 66 0d |e....12.|.#endif.|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 01 00 00 00 01 ac | 00 00 00 ac 00 00 00 66 |........|.......f|
|00000810| 69 73 68 69 6e 67 20 6d | 6f 76 65 c9 48 2a 30 78 |ishing m|ove.H*0x|
|00000820| 2f 54 68 65 2f 2a 20 5e | 32 20 63 6f 75 6c 64 6e |/The/* ^|2 couldn|
|00000830| 13 49 6e 6c 69 6e 65 49 | 6e 70 75 74 53 61 6d 70 |.InlineI|nputSamp|
|00000840| 6c 65 2e 68 02 00 00 00 | 54 45 58 54 43 57 49 45 |le.h....|TEXTCWIE|
|00000850| 00 00 54 45 58 54 43 57 | 49 45 01 00 00 00 01 40 |..TEXTCW|IE.....@|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 a9 e1 61 40 00 00 | 07 40 00 00 02 12 63 65 |....a@..|.@....ce|
|00000880| 73 73 20 70 72 69 76 69 | 6c 65 67 65 73 20 74 6f |ss privi|leges to|
|00000890| 20 73 65 65 20 61 6c 6c | 20 74 68 65 20 69 74 65 | see all| the ite|
|000008a0| 6d 73 20 69 6e 20 d2 5e | 31 d3 2e 20 20 43 6f 70 |ms in .^|1.. Cop|
|000008b0| 79 20 74 68 65 20 76 69 | 73 69 62 6c 65 20 6f 6e |y the vi|sible on|
|000008c0| 65 73 3f 6f 59 6f 75 20 | 64 6f 6e d5 74 20 68 61 |es?oYou |don.t ha|
|000008d0| 76 65 20 65 6e 6f 75 67 | 68 20 61 63 63 65 73 73 |ve enoug|h access|
|000008e0| 20 70 72 69 76 69 6c 65 | 67 65 73 20 74 6f 20 73 | privile|ges to s|
|000008f0| 65 65 20 61 6c 6c 20 74 | 68 65 20 69 74 65 6d 73 |ee all t|he items|
|00000900| 00 00 00 32 03 32 80 00 | 00 00 05 33 2e 33 2e 32 |...2.2..|...3.3.2|
|00000910| 25 33 2e 33 2e 32 2c 20 | a9 20 41 70 70 6c 65 20 |%3.3.2, |. Apple |
|00000920| 43 6f 6d 70 75 74 65 72 | 2c 20 49 6e 63 2e 20 31 |Computer|, Inc. 1|
|00000930| 39 38 35 2d 39 34 00 00 | 00 1e 16 00 80 00 00 00 |985-94..|........|
|00000940| 04 31 36 2e 30 12 45 2e | 54 2e 4f 2e 2f 4d 50 57 |.16.0.E.|T.O./MPW|
|00000950| 20 50 72 6f 20 23 31 36 | 00 00 00 48 00 09 4d 6f | Pro #16|...H..Mo|
|00000960| 6e 61 63 6f 00 00 00 00 | 00 00 00 00 00 00 00 00 |naco....|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 03 |........|........|
|00000980| 00 04 00 91 00 ed 03 6c | 03 4c 00 91 00 ed 03 6c |.......l|.L.....l|
|00000990| 03 4c ae d4 76 f0 00 00 | 00 00 00 00 00 00 00 00 |.L..v...|........|
|000009a0| 00 00 01 00 00 00 00 04 | 00 01 00 01 00 00 01 00 |........|........|
|000009b0| 00 00 01 ac 00 00 00 ac | 00 00 00 66 01 ae 7f 08 |........|...f....|
|000009c0| 35 9e 00 00 00 1c 00 66 | 00 02 76 65 72 73 00 01 |5......f|..vers..|
|000009d0| 00 1a 4d 50 53 52 00 00 | 00 32 4d 57 42 42 00 00 |..MPSR..|.2MWBB..|
|000009e0| 00 3e 00 01 ff ff 20 00 | 00 00 00 00 00 00 00 02 |.>.... .|........|
|000009f0| ff ff 20 00 00 36 00 00 | 00 00 03 ed ff ff 00 00 |.. ..6..|........|
|00000a00| 00 58 00 00 00 00 03 f0 | ff ff 00 00 00 a4 00 00 |.X......|........|
|00000a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+